load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library")

swift_library(
    name = "ChatQrCodeScreen",
    module_name = "ChatQrCodeScreen",
    srcs = glob([
        "Sources/**/*.swift",
    ]),
    copts = [
        "-warnings-as-errors",
    ],
    deps = [
        "//submodules/Display",
        "//submodules/AsyncDisplayKit",
        "//submodules/Postbox",
        "//submodules/TelegramCore",
        "//submodules/SSignalKit/SwiftSignalKit",
        "//submodules/AccountContext",
        "//submodules/SolidRoundedButtonNode",
        "//submodules/TelegramPresentationData",
        "//submodules/TelegramUIPreferences",
        "//submodules/TelegramNotices",
        "//submodules/PresentationDataUtils",
        "//submodules/AnimationUI",
        "//submodules/MergeLists",
        "//submodules/MediaResources",
        "//submodules/StickerResources",
        "//submodules/WallpaperResources",
        "//submodules/TooltipUI",
        "//submodules/AnimatedStickerNode",
        "//submodules/TelegramAnimatedStickerNode",
        "//submodules/ShimmerEffect",
        "//submodules/WallpaperBackgroundNode",
        "//submodules/QrCode",
        "//submodules/AvatarNode",
        "//submodules/ShareController",
        "//submodules/TelegramStringFormatting",
        "//submodules/PhotoResources",
        "//submodules/TextFormat",
        "//submodules/MediaPlayer:UniversalMediaPlayer",
        "//submodules/TelegramUniversalVideoContent",
        "//submodules/GalleryUI",
        "//submodules/SaveToCameraRoll",
        "//submodules/SegmentedControlNode",
        "//submodules/AnimatedCountLabelNode",
        "//submodules/HexColor",
        "//submodules/QrCodeUI",
    ],
    visibility = [
        "//visibility:public",
    ],
)
